<?php
include '../configs/global.php';
include '../style/jump.php';
$id=$_GET['id'];
$sid=$_GET['sid'];
$sql = $sql = "select resources.resourcesinfo,questions.*,curriculum.cname,resources.id as rid  from resources,questions,curriculum where   questions.cid='$sid' and resources.qid=questions.id and  questions.id='$id'";
$row = $pdo->getOne($sql);

if (!$row) { }
include '../views/common/adminhead.html';
include '../views/questionsedit.html';
include '../views/common/adminfoot.html';
